package team.pwy.pojo.entity;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(of = {"id"})
public class Movie implements Serializable {

  private Integer id;
  private String title;
  private String posterImg;
  private String language;
  private String director;
  private String country;
  private String duration;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")

  private Date firstDate;
  private String content;
  private Long numbers;
  private double score;
  private double grossed;
  private Integer status;
  private Integer swiper;
  private double price;
  private Integer recommend;
  private Integer desire;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
  private Date createTime;

}
